-- vim.cmd [[
-- " Remember to execute /usr/local/bin/python3 -m pip install neovim
local possible_pythons = {'/usr/local/bin/python3', '/usr/bin/python3', '/opt/homebrew/bin/python3'}
for i, v in pairs(possible_pythons) do
  if vim.fn.filereadable(v) == 1 then
    vim.api.nvim_set_var('python3_host_prog', v)
    break
  end
end

vim.api.nvim_set_var('python_highlight_all', 1)

-- pymode settings
-- vim.g.pymode = 1
-- vim.g.pymode_trim_whitespaces = 1
-- vim.g.pymode_options_max_line_length = 120
-- vim.g.pymode_lint_options_pep8 = {max_line_length = vim.g.pymode_options_max_line_length}
--
-- vim.g.pymode_rope = 1
-- vim.g.pymode_rope_refix = '<C-c>'
-- vim.g.pymode_lint_cwindow = 0
--
-- -- set completeopt=menuone,noinsert
-- vim.api.nvim_set_var('completeopt', {'menuone', 'noinsert'})
-- vim.g.pymode_rope_completion = 1
-- vim.g.pymode_rope_complete_on_dot = 1
-- vim.g.pymode_rope_autoimport_modules = {'os', 'shutil', 'datetime'}
--
-- -- Find definition
-- vim.g.pymode_rope_goto_definition_bind = '<C-c>g'
-- vim.g.pymode_rope_goto_definition_cmd = 'new'
